If you have test cases that will catch likely errors, you'll find that you're more willing to make improvements to your code.
在使用测试用例捕获可能的错误时,您会发现自己非常愿意对代码进行改进。
Unfortunately, a unit test does not catch this type of bug.
不幸的是,单元测试不能捕捉这种bug。
When we reran the GUI test by playing back the script, Robot would catch this problem, and the resulting TestManager report (Figure 9) would show that the test had failed.
当我们通过回放脚本重新运行这个GUI测试时,Robot将会捕获这个问题,并且将结果写到报告中(图9),包括显示出这个测试是失败的。
应用推荐